﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RTS
{
	class LanceMan : Unit
	{
		public LanceMan(GameMain game) : base(game)
		{
			trainTime = 5;
			velocity = 2.5F;
			maxLife = life = 100;

			DefineTextures();
		}

		private void DefineTextures()
		{
			unitTextures = new RTSUnitTextures(new TextureSize(325, 325));

			unitTextures.Idle = "LanceManIDLE";
			unitTextures.Walk = "LanceManWALKING";
			unitTextures.Attack = "LanceManATTACK1";
			unitTextures.Death = "LanceManDEATH";
			unitTextures.SelectionArea = "LanceMan_selection";
			unitTextures.Seleted = "LanceMan_selection circle";
			unitTextures.LifeBar = "LanceMan_health bar life";
			unitTextures.LifeBarBackground = "LanceMan_health bar empty";
			unitTextures.AttackRange = "LanceMan_attack range";

			unitTextures.LifeBarOffsetX = 137;
			unitTextures.LifeBarWidth = 50;
		}
	}
}
